import request from '@/utils/request'

/**
 * ///admin/obd//listJson.do?pageNo=&pageSize=
 * tag列表
 */
export function findAllTags(params) {
  return request({
    url: '/admin/tag/findAllTags.do',
    method: 'get',
    params
  })
}
/**
 * /admin/obd///listTjJson.do
 * 修改
 */
export function changeTagById(data) {
  return request({
    url: '/admin/tag/changeTagById.do',
    method: 'post',
    data
  })
}
/**
 * /ObdlistJson.do?name
 * 删除
 */
export function removeTagById(data) {
  return request({
    url: '/admin/tag/removeTagById.do',
    method: 'post',
    data
  })
}
/**
 * 
 * @param {新增} data 
 */
export function addTag(data) {
  return request({
    url: '/admin/tag/addTag.do',
    method: 'post',
    data
  })
}